<!doctype html>
<html lang="en" >
<head>
    <meta charset="UTF-8">
  <title>请点开它</title>

</head>
<body>
<script type="text/javascript">
    document.write("你是一只猪")
    alert("你是一只猪")
</script>
</body>
</html>